package com.zzj.dao;

import com.zzj.bean.TabSupplier;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * InnoDB free: 8192 kB Mapper 接口
 * </p>
 *
 * @author 花
 * @since 2022-03-04
 */
public interface TabSupplierMapper extends BaseMapper<TabSupplier> {


    /**更改状态
     * @param suid
     * @param sustatus
     * @return
     */
    int updateSustatus(@Param("suid") String suid,@Param("1") String sustatus);


    /**查询所有数据，根据状态排序
     * @return
     */
    List<TabSupplier> findAll();

}
